<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>AOS平台后台系统管理初始化配置向导</title>

<!-- 引入基础的Ext的JS和CSS文件-->
<%@ include file="/common/meta_ext.jsp"%>
<link rel="stylesheet" type="text/css" href="${ctx}/common/system/public/js/wizard/ext-ux-wiz.css" />

<!-- 引入所需的扩展组件 -->
<script src="${ctx}/common/system/public/js/wizard/Wizard.js" type="text/javascript"></script>
<script src="${ctx}/common/system/public/js/wizard/Header.js" type="text/javascript"></script>
<script src="${ctx}/common/system/public/js/wizard/Card.js" type="text/javascript"></script>

<script src="${ctx}/common/system/config/InitConfigWizard.js" type="text/javascript"></script>
<script src="${ctx}/common/system/config/AosAdminPasswordPanel.js" type="text/javascript"></script>
<script src="${ctx}/common/system/config/ImportDemoDataPanel.js" type="text/javascript"></script>
<script src="${ctx}/common/system/config/ShowCofigInfoPanel.js" type="text/javascript"></script>

<script type="text/javascript">

Ext.onReady(function(){
	
	Ext.QuickTips.init();
	
	var wizard = new Ext.ux.config.InitConfigWizard();
	
	//重写wizard对show事件的响应
	wizard.on('show',function(){
		this.cards[0].form.findField('pwd').focus(true, true);
		this.previousButton.setDisabled(true);
		this.cancelButton.setDisabled(true);
	});
	
	wizard.show();
	
});
</script>
</head>
<body>
</body>
</html>